home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UNIXTOOL / UNIXLIB37B / !UnixLib37 / !Help < prev    next >
Text File  |  1996-11-13  |  2KB  |  62 lines

  1.                                 UnixLib 3.7b
  2.                                 ~~~~~~~~~~~~
  3.  
  4. This document provides a VERY short introduction to UnixLib, and only covers
  5. the RISC OS specific details of using UnixLib. It does not document what
  6. facilites it provides, or how it works. For this you should look ate the
  7. various documents elsewhere in this distribution, the source, and a proper
  8. manual.
  9.  
  10. I can be contacted at :
  11.  
  12.     Unixlib@callan.demon.co.uk
  13.  
  14. Aternatively, the UnixLib home page is
  15. http://www.callan.demon.co.uk/unixlib/, and this should be checked for
  16. updates and bug-fixes.
  17.  
  18.  
  19. Installation
  20. ~~~~~~~~~~~~
  21.  
  22. Installation is quite simple:
  23.  
  24. 1) Copy the !UnixLib directory to an appropriate location on your hard disc,
  25. and ensure that !UnixLib.!Boot is run during the boot up process.
  26.  
  27. 2) If you have a verison of RiscOS earlier than 3.7, copy the module
  28. CallAWSI.CallASWI to System:modules.
  29.  
  30. Please note that there have been significant changes to UnixLib, and you
  31. *must* recompile all code that uses UnixLib 3.7b, rather than simply linking
  32. with the new library.
  33.  
  34. UnixLib and GCC
  35. ~~~~~~~~~~~~~~~
  36.  
  37. UnixLib is the default library for GCC, and there are no actions that need
  38. to be taken to use this combination.
  39.  
  40.  
  41.  
  42. UnixLib and Norcroft C
  43. ~~~~~~~~~~~~~~~~~~~~~~
  44.  
  45. By default Norcroft C uses the ANSI library that come with the compiler. To
  46. use UnixLib, you have to change its behaviour, by using the following
  47. command switches
  48.  
  49.         -IUnix: -JUnix: -lUnix:o.UnixLib
  50.  
  51. If you are using a seperate link stage, the -l switch is not needed, instead
  52. you should specifiy Unix:o.UnixLib in the link command line.
  53.  
  54. If using the DDE frontend '!CC', the following needs to be changed
  55.  
  56. The 'Include' field should be changed to 'Unix:'
  57. On the popup menu, the 'Default path' should be set to 'Unix:', while the
  58. 'libraries' should be set to 'Unix:o.UnixLib'.
  59.  
  60. For !Link, Unix:o.UnixLib should be specified as one of the files to be
  61. linked.
  62.